<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			@font-face {
				  font-family: 'myFont';   /*自定义字体名称*/
				  src: url('../font/iconfont.woff2') format('woff2'),
				       url('../font/iconfont.woff') format('woff'),
				       url('../font/iconfont.ttf') format('truetype');
				}
			span{
				font-family: "myFont";  /*指向自定义名称*/
				color: red;
				font-size: 40px;
			}
		</style>
	</head>
	<body>
		<span>&#xe700;</span>    <!--&#xe700;为图标对应的编码-->
	</body>
</html>
